#include "EventHandler.h"
#include "LogHandler.h"
#include "EventManager.h"
#include "StatsHandler.h"

#include <gtest/gtest.h>

TEST(ManagerTest, Normal) {
  
  EventManager<int> event_manager;
  
  event_manager.AddHandler(LogHandler<int>::Create());
  event_manager.AddHandler(StatsHandler<int>::Create());

  EXPECT_TRUE(event_manager.SendEvent(5));
  EXPECT_TRUE(event_manager.SendEvent(6));
}
